Optimal. Leaf size=560 \[ \frac {1}{12} \left (28+54 x+27 x^2\right )^{2/3}+\frac {18 (1+x)}{6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}}-\frac {\sqrt {2+\sqrt {3}} \left (6-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}\right ) \sqrt {\frac {1+\sqrt [3]{28+54 x+27 x^2}+\left (28+54 x+27 x^2\right )^{2/3}}{\left (6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {6 \left (1+\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}}{6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}}\right )|-7+4 \sqrt {3}\right )}{18 \sqrt {2} \sqrt [4]{3} (1+x) \sqrt {-\frac {6-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}}{\left (6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}\right )^2}}}+\frac {\left (6-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}\right ) \sqrt {\frac {1+\sqrt [3]{28+54 x+27 x^2}+\left (28+54 x+27 x^2\right )^{2/3}}{\left (6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {6 \left (1+\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}}{6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}}\right )|-7+4 \sqrt {3}\right )}{9\ 3^{3/4} (1+x) \sqrt {-\frac {6-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}}{\left (6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{108+(54+54 x)^2}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.27, antiderivative size = 560, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {654, 633, 241,
310, 225, 1893} \begin {gather*} \frac {\left (6-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}\right ) \sqrt {\frac {\left (27 x^2+54 x+28\right )^{2/3}+\sqrt [3]{27 x^2+54 x+28}+1}{\left (6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}\right )^2}} F\left (\text {ArcSin}\left (\frac {6 \left (1+\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}}{6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}}\right )|-7+4 \sqrt {3}\right )}{9\ 3^{3/4} \sqrt {-\frac {6-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}}{\left (6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}\right )^2}} (x+1)}-\frac {\sqrt {2+\sqrt {3}} \left (6-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}\right ) \sqrt {\frac {\left (27 x^2+54 x+28\right )^{2/3}+\sqrt [3]{27 x^2+54 x+28}+1}{\left (6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}\right )^2}} E\left (\text {ArcSin}\left (\frac {6 \left (1+\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}}{6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}}\right )|-7+4 \sqrt {3}\right )}{18 \sqrt {2} \sqrt [4]{3} \sqrt {-\frac {6-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}}{\left (6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}\right )^2}} (x+1)}+\frac {1}{12} \left (27 x^2+54 x+28\right )^{2/3}+\frac {18 (x+1)}{6 \left (1-\sqrt {3}\right )-\sqrt [3]{2} \sqrt [3]{(54 x+54)^2+108}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 225
Rule 241
Rule 310
Rule 633
Rule 654
Rule 1893
Rubi steps
\begin {align*} \int \frac {2+3 x}{\sqrt [3]{28+54 x+27 x^2}} \, dx &=\frac {1}{12} \left (28+54 x+27 x^2\right )^{2/3}-\int \frac {1}{\sqrt [3]{28+54 x+27 x^2}} \, dx\\ &=\frac {1}{12} \left (28+54 x+27 x^2\right )^{2/3}-\frac {1}{54} \text {Subst}\left (\int \frac {1}{\sqrt [3]{1+\frac {x^2}{108}}} \, dx,x,54+54 x\right )\\ &=\frac {1}{12} \left (28+54 x+27 x^2\right )^{2/3}-\frac {\sqrt {(54+54 x)^2} \text {Subst}\left (\int \frac {x}{\sqrt {-1+x^3}} \, dx,x,\sqrt [3]{28+54 x+27 x^2}\right )}{2 \sqrt {3} (54+54 x)}\\ &=\frac {1}{12} \left (28+54 x+27 x^2\right )^{2/3}+\frac {\sqrt {(54+54 x)^2} \text {Subst}\left (\int \frac {1+\sqrt {3}-x}{\sqrt {-1+x^3}} \, dx,x,\sqrt [3]{28+54 x+27 x^2}\right )}{2 \sqrt {3} (54+54 x)}-\frac {\left (\sqrt {\frac {1}{6} \left (2+\sqrt {3}\right )} \sqrt {(54+54 x)^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1+x^3}} \, dx,x,\sqrt [3]{28+54 x+27 x^2}\right )}{54+54 x}\\ &=\frac {1}{12} \left (28+54 x+27 x^2\right )^{2/3}+\frac {3 (1+x)}{1-\sqrt {3}-\sqrt [3]{28+54 x+27 x^2}}-\frac {\sqrt {2+\sqrt {3}} \left (1-\sqrt [3]{28+54 x+27 x^2}\right ) \sqrt {\frac {1+\sqrt [3]{28+54 x+27 x^2}+\left (28+54 x+27 x^2\right )^{2/3}}{\left (1-\sqrt {3}-\sqrt [3]{28+54 x+27 x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {1+\sqrt {3}-\sqrt [3]{28+54 x+27 x^2}}{1-\sqrt {3}-\sqrt [3]{28+54 x+27 x^2}}\right )|-7+4 \sqrt {3}\right )}{6\ 3^{3/4} (1+x) \sqrt {-\frac {1-\sqrt [3]{28+54 x+27 x^2}}{\left (1-\sqrt {3}-\sqrt [3]{28+54 x+27 x^2}\right )^2}}}+\frac {\sqrt {2} \left (1-\sqrt [3]{28+54 x+27 x^2}\right ) \sqrt {\frac {1+\sqrt [3]{28+54 x+27 x^2}+\left (28+54 x+27 x^2\right )^{2/3}}{\left (1-\sqrt {3}-\sqrt [3]{28+54 x+27 x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {1+\sqrt {3}-\sqrt [3]{28+54 x+27 x^2}}{1-\sqrt {3}-\sqrt [3]{28+54 x+27 x^2}}\right )|-7+4 \sqrt {3}\right )}{9 \sqrt [4]{3} (1+x) \sqrt {-\frac {1-\sqrt [3]{28+54 x+27 x^2}}{\left (1-\sqrt {3}-\sqrt [3]{28+54 x+27 x^2}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.01, size = 41, normalized size = 0.07 \begin {gather*} \frac {1}{12} \left (28+54 x+27 x^2\right )^{2/3}-(1+x) \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {3}{2};-27 (1+x)^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int \frac {2+3 x}{\left (27 x^{2}+54 x +28\right )^{\frac {1}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {3 x + 2}{\sqrt [3]{27 x^{2} + 54 x + 28}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {3\,x+2}{{\left (27\,x^2+54\,x+28\right )}^{1/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________